package org.example.service.impl;

import org.example.domain.CarType;
import org.example.mapper.CarTypeMapper;
import org.example.service.CarTypeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CarTypeServiceImpl implements CarTypeService {

    @Autowired
    private CarTypeMapper carTypeMapper;
    @Override
    public List<CarType> list() {
        return carTypeMapper.list();
    }
}
